package club.justwill.single.persistence.support;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

/**
 * Created by luoyu on 15-12-24.
 */
@MappedSuperclass
public abstract class UserAliasesBase extends Jpo {

    @Column(name = "alias_name")
    private String aliasName;

    protected void copyBase(UserAliasesBase other) {
        setAliasName(other.getAliasName());
    }

    public String getAliasName() {
        return aliasName;
    }

    public void setAliasName(String aliasName) {
        this.aliasName = aliasName;
    }
}
